package fr.nantes.univ.servlets;

import java.io.IOException;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@SuppressWarnings("serial")
public class IndexServlet extends HttpServlet {

	public void doGet(HttpServletRequest request, HttpServletResponse response)
			throws IOException {
		
		response.setContentType("text/html");
		response.getWriter().println("<h1>Welcome to the Rubbish Collections Alert Centre</h1>");
		response.getWriter().println("<p><a href=\"/login\">Se connecter</a></p>");

	}
	
	
}
